package fun.boomcat.luckyhe.mirai.plugin.dao;

import fun.boomcat.luckyhe.mirai.plugin.pojo.Player;

import java.util.Map;

public interface PlayerListMapper {
//    创建数据库
    int createRconCommandDB();

//    创建玩家表
    int createPlayerListTable();

//    插入一条玩家映射
    int insertOnePlayer(Map<String, Object> map);

//    删除一条玩家映射
    int deleteOnePlayer(long qq);

// 通过qq查找玩家映射
    Player selectPlayerByQq(long qq);
}
